using System;

namespace FreeFlow.Administration
{
	/// <summary>
	/// Event argument class for the SqlExecutedEventHandler event handler.
	/// </summary>
	public class SqlExecutingEventArgs : EventArgs
	{
    /// <summary>
    /// Initializes a new instance of the <see cref="SqlExecutingEventArgs"/> class.
    /// </summary>
    /// <param name="sql">The SQL that will be executed.</param>
		public SqlExecutingEventArgs(string sql) : base()
		{
      this.sql = sql;
		}

    private string sql;
    /// <summary>
    /// Gets the SQL that will be executed.
    /// </summary>
    public string Sql
    {
      get
      {
        return sql;
      }
    }
	}
}
